import request from '@/utils/request'

// 统一前缀
var prefix = '/messageService'

// 发送消息
export function sendMessage(data) {
  return request({
    url: `${prefix}/message/send`,
    method: 'POST',
    data: data,
  })
}

// 获取消息列表
export function getMessageList(data) {
  return request({
    url: `${prefix}/message/list`,
    method: 'POST',
    data: data,
  })
}
